import javax.json.bind.annotation.JsonbProperty;
public class PostJson{
    @JsonbProperty("error")
    int error;
    @JsonbProperty("message")
    String message;
    @JsonbProperty("openid")
    String openid;
    @JsonbProperty("access_token")
    String access_token;
    public PostJson (){}
    public PostJson( int error, String message, String openid, String access_token)
    {
	this.error=error;
	this.message=message;
	this.openid=openid;       	    
	this.access_token=access_token;
    }

    public void setError(int error) {
	this.error = error;
    }
    public int getError() {
	return error;
    }
    public void setMessage(String message) {
	this.message = message;
    }
    public String getMessage() {
	return message;
    }
    public void setOpenid(String openid) {
	this.openid = openid;
    }
    public String getOpenid() {
	return openid;
    }
    public void setAccess_token(String access_token) {
	this.access_token = access_token;
    }
    public String getAccess_token() {
	return access_token;
    }
}
